package com.glory.erp.invoice.operdetail.service.impl;

import java.io.Serializable;
import java.util.List;

import com.glory.erp.invoice.operdetail.service.OperDetailService;
import com.glory.erp.invoice.operdetail.dao.OperDetailDao;
import com.glory.erp.invoice.operdetail.bean.OperDetail;
import com.glory.erp.auth.base.BaseQueryModel;

public class OperDetailServiceImpl implements OperDetailService{
	private OperDetailDao operDetailDao;
	public void setOperDetailDao(OperDetailDao operDetailDao) {
		this.operDetailDao = operDetailDao;
	}

	public void save(OperDetail operDetail) {
		operDetailDao.save(operDetail);
	}

	public void update(OperDetail operDetail) {
		operDetailDao.update(operDetail);
	}

	public void delete(OperDetail operDetail) {
		operDetailDao.delete(operDetail);
	}

	public OperDetail findById(Serializable uuid) {
		return operDetailDao.findById(uuid);
	}

	public List<OperDetail> findAll() {
		return operDetailDao.findAll();
	}

	public List<OperDetail> findAll(BaseQueryModel qm, Integer pageNum,Integer pageCount) {
		return operDetailDao.findAll(qm,pageNum,pageCount);
	}

	public Integer getCount(BaseQueryModel qm) {
		return operDetailDao.getCount(qm);
	}

}
